import { request } from '../request'
export default {
  // 获取俱乐部排行
  API_CLUB_INDEX_POST(params = {}) {
    return request({
      url: `/api/club/index`,
      method: 'post',
      data: params
    })
  },
  // 俱乐部荣誉
  API_CLUB_DETAIL_HONOR_POST(params = {}) {
    return request({
      url: `/api/club/detailhonor`,
      method: 'post',
      data: params
    })
  },
  // 俱乐部动态
  API_CLUB_DETAIL_DYNAMIC_POST(params = {}) {
    return request({
      url: `/api/club/detaildynamics`,
      method: 'post',
      data: params
    })
  },
  // 俱乐部参赛
  API_CLUB_DETAIL_PARTICIPATE_POST(params = {}) {
    return request({
      url: `/api/club/detailparticipate`,
      method: 'post',
      data: params
    })
  },
  // 加入俱乐部
  API_MEMBER_ADDCLUB_POST(params = {}) {
    return request({
      url: `/api/member/addclub`,
      method: 'post',
      data: params
    })
  },
  // 俱乐部记录
  API_RECORD_RECORD_POST(params = {}) {
    return request({
      url: `/api/record/record`,
      method: 'post',
      data: params
    })
  },
  API_PERSONAL_CUSTOM_GET(params = {}) {
    return request({
      url: `/api/certificate/listorder`,
      method: 'post',
      data: params
    })
  },
  // 证书接口
  API_CERTIFICATE_INDEX_POST(params = {}) {
    return request({
      url: `/api/certificate/index`,
      method: 'post',
      data: params
    })
  },
  // 款式接口
  API_CERTIFICATE_STYLE_POST(params = {}) {
    return request({
      url: `/api/certificate/style`,
      method: 'post',
      data: params
    })
  },
  // 领取赛站接口
  API_CERTIFICATE_STATION_POST(params = {}) {
    return request({
      url: `/api/certificate/station`,
      method: 'post',
      data: params
    })
  },
  // 创建证书支付订单
  API_CERTIFICATE_PRINT_ORDER_POST(params = {}) {
    return request({
      url: `/api/certificate/create`,
      method: 'post',
      data: params
    })
  },
  // 证书订单去支付
  API_CERTIFICATE_PRINT_ORDER_PAY_POST(params = {}) {
    return request({
      url: `/api/certificate/pay`,
      method: 'post',
      data: params
    })
  },
  // 我的赛程
  API_MEMBER_MYEVENT_POST(params = {}) {
    return request({
      url: `/api/member/myevent`,
      method: 'post',
      data: params
    })
  }
}
